package scauCmiScaffolding.compiled;

import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;

public class _jet_pageEnd_0 implements JET2Template {
    private static final String _jetns_c = "org.eclipse.jet.controlTags"; //$NON-NLS-1$
    private static final String _jetns_f = "org.eclipse.jet.formatTags"; //$NON-NLS-1$

    public _jet_pageEnd_0() {
        super();
    }

    private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
    
    private static final TagInfo _td_f_replaceAll_2_1 = new TagInfo("f:replaceAll", //$NON-NLS-1$
            2, 1,
            new String[] {
                "value", //$NON-NLS-1$
                "replacement", //$NON-NLS-1$
            },
            new String[] {
                "Dollar_symbol", //$NON-NLS-1$
                "$", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_replaceStrings_2_53 = new TagInfo("c:replaceStrings", //$NON-NLS-1$
            2, 53,
            new String[] {
                "replace", //$NON-NLS-1$
                "with", //$NON-NLS-1$
            },
            new String[] {
                "%Left_angle_brackets,%Right_angle_brackets,cchoose,cwhen,cset,cotherwise,cforEach,cif", //$NON-NLS-1$
                "<,>,c:choose,c:when,c:set,c:otherwise,c:forEach,c:if", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_74_31 = new TagInfo("c:get", //$NON-NLS-1$
            74, 31,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "$projectName", //$NON-NLS-1$
            } );

    public void generate(final JET2Context context, final JET2Writer __out) {
        JET2Writer out = __out;
        //表格下面的分页的页尾 
        RuntimeTagElement _jettag_f_replaceAll_2_1 = context.getTagFactory().createRuntimeTag(_jetns_f, "replaceAll", "f:replaceAll", _td_f_replaceAll_2_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_f_replaceAll_2_1.setRuntimeParent(null);
        _jettag_f_replaceAll_2_1.setTagInfo(_td_f_replaceAll_2_1);
        _jettag_f_replaceAll_2_1.doStart(context, out);
        JET2Writer _jettag_f_replaceAll_2_1_saved_out = out;
        while (_jettag_f_replaceAll_2_1.okToProcessBody()) {
            out = out.newNestedContentWriter();
            RuntimeTagElement _jettag_c_replaceStrings_2_53 = context.getTagFactory().createRuntimeTag(_jetns_c, "replaceStrings", "c:replaceStrings", _td_c_replaceStrings_2_53); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_replaceStrings_2_53.setRuntimeParent(_jettag_f_replaceAll_2_1);
            _jettag_c_replaceStrings_2_53.setTagInfo(_td_c_replaceStrings_2_53);
            _jettag_c_replaceStrings_2_53.doStart(context, out);
            JET2Writer _jettag_c_replaceStrings_2_53_saved_out = out;
            while (_jettag_c_replaceStrings_2_53.okToProcessBody()) {
                out = out.newNestedContentWriter();
                out.write(NL);         
                out.write("%Left_angle_brackets%@ page pageEncoding=\"UTF-8\" %%Right_angle_brackets");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("<div class=\"scau-paging\">");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t<cchoose>  ");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t<cwhen test=\"Dollar_symbol{page.totalRecords == 0}\">");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t<div class=\"scau-pageHeader\" id=\"pageInformationToShow\">显示 0 - 0 记录Dollar_symbol&nbsp; 总共");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\tDollar_symbol{page.totalRecords}  条记录</div>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t</cwhen>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t<cwhen test=\"Dollar_symbol{page.currentPagination != page.searchEndCursor}\">");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t<div class=\"scau-pageHeader\" id=\"pageInformationToShow\">显示\tDollar_symbol{(page.currentPagination - 1) * page.paginationSize + 1}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t- Dollar_symbol{page.currentPagination * page.paginationSize}记录 &nbsp;总共");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\tDollar_symbol{page.totalRecords}  条记录</div>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t</cwhen>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t<cotherwise>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t<div class=\"scau-pageHeader\" id=\"pageInformationToShow\">显示");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\tDollar_symbol{(page.currentPagination - 1) * page.paginationSize + 1}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t- Dollar_symbol{page.totalRecords} 记录 &nbsp;总共");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\tDollar_symbol{page.totalRecords} 条记录</div>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t</cotherwise>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t</cchoose>   ");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t<div class=\"dataTables_paginate paging_simple_numbers\">");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t<form:input class=\"scau-page-input\" type=\"text\"  path=\"inputCurrentPagination\"  />");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t<input class=\"scau-page-btn\" type=\"submit\"  value=\"跳转\"/> ");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t<div class=\"scau-page-select\">");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t<form:input id=\"firstPage\" path=\"currentPagination\"  value=\"首页\"  type=\"submit\"/>   ");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t<form:input id=\"previousPage\" path=\"currentPagination\"  value=\"上一页\" type=\"submit\"/>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t<c:forEach var=\"i\" begin=\"Dollar_symbol{page.searchBeginCursor}\" end=\"Dollar_symbol{page.searchEndCursor}\">");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t<form:input class=\"scau-page-number\" path=\"currentPagination\"  value=\"Dollar_symbol{i}\"  type=\"submit\" />");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t</c:forEach>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t<form:input id=\"nextPage\" path=\"currentPagination\"  value=\"下一页\"  type=\"submit\"/>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t<form:input id=\"lastPage\" path=\"currentPagination\"  value=\"尾页\"  type=\"submit\"/>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t</div>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t<form:input  id=\"hiddenCurrentPagination\" path=\"hiddenCurrentPagination\"  type=\"hidden\"   value=\"Dollar_symbol{page.currentPagination}\"/>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t<form:input  id=\"hiddenTotalPaginations\"  path=\"hiddenTotalPaginations\" type=\"hidden\"  value=\"Dollar_symbol{page.totalPaginations}\"/>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t</div>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("</div>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t");  //$NON-NLS-1$        
                out.write(NL);         
                out.write(NL);         
                out.write(NL);         
                out.write("<script type=\"text/javascript\">");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t//页码的颜色的变化");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\tvar currentPagination=Dollar_symbol{page.currentPagination};");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\tvar totalPaginations = Dollar_symbol{page.totalPaginations}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\tvar begin=Dollar_symbol{page.searchBeginCursor};");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\tvar end=Dollar_symbol{page.searchEndCursor};");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\tvar p = Dollar_symbol(\".scau-page-number\");");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\tfor(var i=0;i<=end - begin;i++){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tp[i].classList.remove(\"page-active\");");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tif(i == currentPagination - begin){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tp[i].classList.add(\"page-active\");");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t/* p[i].style.background=\"#47cbb0\";");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tp[i].style.color=\"white\";");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tp[i].style.border=\"1px solid #1cc09f\"; */");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t//如果是第一页，首页应当设置为不可点击，尾页同理");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\tif(currentPagination == 1){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tDollar_symbol(\"#firstPage\").attr('disabled',true);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tDollar_symbol(\"#previousPage\").attr('disabled',true);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\tif(currentPagination == totalPaginations){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tDollar_symbol(\"#nextPage\").attr('disabled',true);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tDollar_symbol(\"#lastPage\").attr('disabled',true);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("</script>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write(NL);         
                out.write(NL);         
                out.write("<!-- 添加批量删除的资源文件 -->");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("<link rel=\"stylesheet\" href=\"//apps.bdimg.com/libs/jqueryui/1.10.4/css/jquery-ui.min.css\">");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("<script src=\"//apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js\"></script>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("<script src=\"//apps.bdimg.com/libs/jqueryui/1.10.4/jquery-ui.min.js\"></script>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("<link rel=\"stylesheet\" href=\"/");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_74_31 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_74_31); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_74_31.setRuntimeParent(_jettag_c_replaceStrings_2_53);
                _jettag_c_get_74_31.setTagInfo(_td_c_get_74_31);
                _jettag_c_get_74_31.doStart(context, out);
                _jettag_c_get_74_31.doEnd();
                out.write("/css/style.css\">");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("  ");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("<script>");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t//删除所有的实体记录");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\tfunction deleteEntitys(){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tvar  deleteEntitysIdArray = new Array();");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tDollar_symbol(\"input[name='deleteEntitysId']:checked\").each(function(){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\tdeleteEntitysIdArray.push($(this).val());");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t});");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tif(deleteEntitysIdArray.size != 0){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tDollar_symbol.ajax({");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\tasync : true,");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\ttype:\"POST\",");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\turl:\"Dollar_symbol{pageContext.request.contextPath}/restConfirmDeleteDollar_symbol{entityName}s\",");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\tdata:JSON.stringify(deleteEntitysIdArray),");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\tcontentType:\"application/json;charset=utf-8\",");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\tdataType:\"json\",");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\tsuccess:function(data){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\tcreatePromptBox(data);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t},");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\terror:function(XMLHttpRequest, textStatus, errorThrown){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t alert(XMLHttpRequest.status);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t alert(XMLHttpRequest.readyState);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t alert(textStatus);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t});");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write(NL);         
                out.write(" \t//创建删除的提示框");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\tfunction createPromptBox(data){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tvar  div = Dollar_symbol(\"<div></div>\");");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tif(data.referencedEntitys.length != 0){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tvar  referencedNotice = Dollar_symbol(\"<p></p>\");");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\treferencedNotice.append(\"以下数据被其他数据引用，不能删除。\");");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tvar  referencedEntitysTable = createTable(data.referencedEntitys);\t");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tdiv.append(referencedNotice,referencedEntitysTable);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tif(data.deleteEntitys.length != 0){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tvar  deleteNotice = Dollar_symbol(\"<p></p>\");");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tdeleteNotice.append(\"以下数据可以删除。\");");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tvar  deleteEntitysTable = createTable(data.deleteEntitys);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tdiv.append(deleteNotice,deleteEntitysTable);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tshowPromptBox(div,data);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t} ");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t");  //$NON-NLS-1$        
                out.write(NL);         
                out.write(" \t//新建用于提示框展示的表格");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\tfunction  createTable(tableData){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tvar rows= new Array();");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tfor(var current in tableData){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tDollar_symbol(\"input[name='deleteEntitysId']:checked\").each(function(){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\tif(Dollar_symbol(this).val() == tableData[current].id){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\trows.push(Dollar_symbol(this).parent().parent().index() + 1);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t});");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tvar  entityTable = Dollar_symbol(\"#entityTable\");");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tvar  newTable = Dollar_symbol(\"<table></table>\");");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t//将原先的table中选中的行，复制到新的table中去");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tnewTable.append(entityTable.find(\"thead tr\").eq(0).clone());");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tfor(var i in rows){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\tnewTable.append(entityTable.find(\"tr\").eq(rows[i]).clone());");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tnewTable.find(\"th:first-child\").remove();");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tnewTable.find(\"th:last-child\").remove();");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tnewTable.find(\"td:first-child\").remove();");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tnewTable.find(\"td:last-child\").remove();");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\treturn  newTable;");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write(NL);         
                out.write("\t//初始化提示框，添加配置显示");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\tfunction showPromptBox(div,data){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tdiv.dialog({");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t        resizable: true,");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t        modal: true,");  //$NON-NLS-1$        
                out.write(NL);         
                out.write(" \t        height:500,");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t        width:500, ");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t        show: {");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t            effect: \"blind\",");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t            duration: 1000");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t          },");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t          hide: {");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t            effect: \"explode\",");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t            duration: 1000");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t          },");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t        buttons: {");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t          \"删除所有的记录\": function() {");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t       \t Dollar_symbol( this ).dialog( \"close\" );");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t        \t  if(data.deleteEntitys.length != 0){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t  \t\t\tDollar_symbol.ajax({");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\tasync : true,");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\ttype:\"POST\",  ");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\turl:\"Dollar_symbol{pageContext.request.contextPath}/restDeleteDollar_symbol{entityName}s\",");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\tdata:JSON.stringify(data.deleteEntitys),");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\tcontentType:\"application/json;charset=utf-8\",");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\tdataType:\"text\",");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\tsuccess:function(data){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\t\tdata = JSON.parse(data);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\t\twindow.location.href = \"Dollar_symbol{pageContext.request.contextPath}/\" + data.url;");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\t},");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\terror:function(XMLHttpRequest, textStatus, errorThrown){");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\t\t alert(XMLHttpRequest.status);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\t\t alert(XMLHttpRequest.readyState);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\t\t alert(textStatus);");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\t\t\t\t\t});");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t        \t  }");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t          },");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t          Cancel: function() {");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t            Dollar_symbol( this ).dialog( \"close\" );");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t          }");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t        }");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t      });");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t}");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("</script>");  //$NON-NLS-1$        
                out.write(NL);         
                _jettag_c_replaceStrings_2_53.handleBodyContent(out);
            }
            out = _jettag_c_replaceStrings_2_53_saved_out;
            _jettag_c_replaceStrings_2_53.doEnd();
            out.write(NL);         
            _jettag_f_replaceAll_2_1.handleBodyContent(out);
        }
        out = _jettag_f_replaceAll_2_1_saved_out;
        _jettag_f_replaceAll_2_1.doEnd();
    }
}
